package com.framework.buss.bridge.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.framework.core.mybatis.config.AutoField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description: AI报告word目录表
 * @Author: jeecg-boot
 * @Date:   2023-08-16
 * @Version: V1.0
 */
@Data
@TableName("buss_word_tree_selected")
@ApiModel(value="buss_word_tree_selected对象", description="AI报告word目录表")
public class WordTreeSelected implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @AutoField("varchar(32) default '' COMMENT '主键'")
    private String id;
	/**名称*/
	@ExcelProperty("名称")
    @ApiModelProperty(value = "名称")
    @AutoField("varchar(100) default '' COMMENT '名称'")
    private String name;

	/**排序*/
	@ExcelProperty("排序")
    @ApiModelProperty(value = "排序")
    @AutoField("bigint default 0 COMMENT '排序'")
    private Integer sort;

	/**父级节点*/
	@ExcelProperty("父级节点")
    @ApiModelProperty(value = "父级节点")
    @AutoField("varchar(32) default '' COMMENT '父级节点'")
    private String pid;

	/**是否有子节点*/
	@ExcelProperty("是否有子节点")
    @ApiModelProperty(value = "是否有子节点")
    @AutoField("varchar(1) default '0' COMMENT '是否有子节点'")
    private String hasChild;

	/**buss_word_tree表id*/
	@ExcelProperty("buss_word_tree表id")
    @ApiModelProperty(value = "buss_word_tree表id")
    @AutoField("varchar(32) default '' COMMENT 'buss_word_tree表id'")
    private String originId;

    /**buss_bridge表id*/
    @ExcelProperty("buss_bridge表id")
    @ApiModelProperty(value = "buss_bridge表id")
    @AutoField("varchar(32) default '' COMMENT 'buss_bridge表id'")
    private String bridgeId;
}
